The MySQL permissions system revolves around two concepts:Authentication, determining whether a user is allowed to connect to a database serverAuthorization, determines whether the user has sufficient permissions to execute the query request, and so
Run the "showprivileges;" command to view grant permissions on database objects to users 1. grant normal data users the right to query, insert, update, and delete all table data in the database. Grantselectontestdb. * tocommon_user @ '%'
Grant and revoke permissions in MySQL
The simple format of commands granted to users by MySQL is as follows:1 grant permissions on database objects to users1. grant normal data users the right to query, insert, update, and delete all table data in
This article mainly describes the example of the MySQL Grant command. the actual operation of the MySQL Grant command in this article is mainly on MySQL 5.0 and later versions, the following describes the specific operation steps. I hope you will
MySQL Grant command details bitsCN.com
This example runs on MySQL 5.0 and later.
The simple format of commands granted to users by MySQL is as follows:
Grant permission on database objects to users
1. grant normal data users the right to query,
User Rights Management mainly has the following functions:1. You can restrict which libraries a user accesses, which tables2. You can restrict which tables the user performs for select, CREATE, delete, delete, alter, etc.3. The IP or domain name
Grant MySQL account access to specified database under Linux systemRequirements: 1, create a database in MySQL mydata2, new MySQL account admin password 1234563, give the account admin to the database MyData have full operation rights ===============
Transferred from: http://chenling1018.blog.163.com/blog/static/14802542010320112355598/The MySQL permissions system revolves around two concepts:Authentication, determining whether a user is allowed to connect to a database serverAuthorization,
MySQL gives user permission commands can be simply summed up as:
Grant permission on database object to user
Example one:Grant normal data users, the right to query, insert, UPDATE, and delete all table data in the database, which means that (all
This example is run in MySQL version 5.0 and above.
The simple format that MySQL gives user permission commands can be summarized as:
Grant permission on database object to user
One, grant ordinary data user, query, insert, UPDATE, delete all
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.